const express = require('express')
const router = express.Router()

//导入用户路由处理模块
const chooseHandler = require('../router_handler/choose')

//验证数据的中间件
const expressJoi = require('@escook/express-joi')

router.post('/addsc', chooseHandler.addSC)
router.get('/getchoose', chooseHandler.getChoose)
router.get('/getmy', chooseHandler.getMy)
router.get('/searchcourse', chooseHandler.searchCourse)
router.post('/deletesc', chooseHandler.deleteSC)
router.get('/getprecourse', chooseHandler.getPreCourse)
router.get('/getis', chooseHandler.getIs)


module.exports = router